package com.sctlqq.wuye.controller;

import com.sctlqq.wuye.entity.Result;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/sct")
public class TestController {

    @GetMapping("/test")
    public Result<Object> test(){
        return new Result<>(HttpStatus.OK.value(), "success");
    }

}
